Skip to content

feat: add Serial rule for English TN - #354

Merged
pengzhendong merged 1 commit into
masterfrom
feat/serial-rule
Jun 9, 2026
Merged

feat: add Serial rule for English TN#354
pengzhendong merged 1 commit into
masterfrom
feat/serial-rule

Conversation

@pengzhendong

@pengzhendong pengzhendong commented Jun 9, 2026

Copy link
Copy Markdown
Member

Closes #259

Summary

Add Serial rule to handle mixed alphanumeric sequences — model numbers, product codes, compound words with numbers, symbols, etc.

Examples

Input Output
B2A23C B two A twenty three C
covid-19 covid-nineteen
MIG-25 MIG-twenty five
C24 C twenty four
f++ f plus plus
7-eleven seven-eleven
dfsd#sfgsfd$ dfsd hash sfgsfd dollar

Test plan

  • All 1400 unit tests pass
  • CI passes

Add Serial rule to handle mixed alphanumeric sequences like model
numbers, product codes, and compound words with numbers:
  B2A23C => B two A twenty three C
  covid-19 => covid-nineteen
  MIG-25 => MIG-twenty five
  f++ => f plus plus
  7-eleven => seven-eleven
@pengzhendong
pengzhendong merged commit 1150cc3 into master Jun 9, 2026
1 check passed
@pengzhendong
pengzhendong deleted the feat/serial-rule branch June 9, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

en-tn

1 participant